#ifndef __LED_H
#define __LED_H


#include "gpio.h"

/* 抽象出LED的类
 */
struct LED_Class{
	void (*init)(void);//初始化函数
	void (*ON)(uint8_t number);//亮灯
	void (*OFF)(uint8_t number);//关灯
	void (*TRUN)(uint8_t number);//翻转灯
};


struct LED_Class *get_LED_Class(void);


#endif
